package com.dgut.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix="jwt")
@Component
public class JwtProperties {
//    请求头携带token的名字
    private String header;
//    盐
    private String salt;
//    过期时间
    private Long expirationMillisecond;

}
